package homework.work4;

public class Main4 {
    public static void main(String[] args) {
        Son son = new Son();
        //成员
        System.out.println(son.gA);
        System.out.println(son.fA);
        System.out.println(son.sA);
        System.out.println(son.a);

       son.testSon();
       son.testGrand();
       son.testFather();
       son.test();
    }
}


